/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.home;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.home.HomeImg;
import com.server.modules.sys.dao.home.HomeImgDao;

/**
 * 轮播图管理Service
 * @author 王磊
 * @version 2016-10-14
 */
@Service
@Transactional(readOnly = true)
public class HomeImgService extends CrudService<HomeImgDao, HomeImg> {

	public HomeImg get(String id) {
		return super.get(id);
	}
	
	public List<HomeImg> findList(HomeImg homeImg) {
		return super.findList(homeImg);
	}
	
	public Page<HomeImg> findPage(Page<HomeImg> page, HomeImg homeImg) {
		return super.findPage(page, homeImg);
	}
	
	@Transactional(readOnly = false)
	public void save(HomeImg homeImg) {
		super.save(homeImg);
	}
	
	@Transactional(readOnly = false)
	public void delete(HomeImg homeImg) {
		super.delete(homeImg);
	}
	
}